<?php

/** 
 * @author juanjo
 * 
 * 
 */
interface OperacionBDInterface
   {
      public static function guardar( $tabla, $campos, $valores, $filtro, $separador_campos = ",", $array_valores = false, $campos_valores = false, $class = null, $method = null, $line = null );
      public static function actualizar( $tabla, $campos, $valores, $filtro, $separador_campos = ",", $array_valores = false, $campos_valores = false, $class = null, $method = null, $line = null );
      public static function eliminar( $tabla, $campo = "", $valor = "", $filtro_adicional = "" );
      public static function buscar( $tabla, $campos_obtener = "", $filtro = "" );
      public static function listar( $tabla = "", $filtro = "" );
      public static function existeRegistro( $tabla, $campo, $valor );
   }
?>